<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>基于CW32的电压电流表: D:/09电压电流表训练营/CW32F030C8T6_VAmeter_release/APP/esp8266_cmd.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">基于CW32的电压电流表<span id="projectnumber">&#160;V1.0.0</span>
   </div>
   <div id="projectbrief">一款物联网多功能电压电流表</div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('esp8266__cmd_8c.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">esp8266_cmd.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>ESP8266相关操作源文件  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;board.h&quot;</code><br />
<code>#include &quot;<a class="el" href="_lcd___driver_8h_source.html">Lcd_Driver.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_g_u_i_8h_source.html">GUI.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="esp8266__cmd_8h_source.html">esp8266_cmd.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="menu_8h_source.html">menu.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="main_8h_source.html">main.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mqtt_8h_source.html">mqtt.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="tim_8h_source.html">tim.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a2194529694ce26bd9913f172f05c7fed" id="r_a2194529694ce26bd9913f172f05c7fed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2194529694ce26bd9913f172f05c7fed">USART_SendString</a> (UART_TypeDef *USARTx, uint8_t *DataString)</td></tr>
<tr class="memdesc:a2194529694ce26bd9913f172f05c7fed"><td class="mdescLeft">&#160;</td><td class="mdescRight">USART发送字符串  <br /></td></tr>
<tr class="separator:a2194529694ce26bd9913f172f05c7fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a846bd3892ad76a2e0589298e6026a2eb" id="r_a846bd3892ad76a2e0589298e6026a2eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a846bd3892ad76a2e0589298e6026a2eb">ESP8266_Clear</a> (void)</td></tr>
<tr class="memdesc:a846bd3892ad76a2e0589298e6026a2eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空ESP8266 UART接收缓存  <br /></td></tr>
<tr class="separator:a846bd3892ad76a2e0589298e6026a2eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4929c68b4fd3f43141dd70f7a475a3da" id="r_a4929c68b4fd3f43141dd70f7a475a3da"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4929c68b4fd3f43141dd70f7a475a3da">ESP8266_WaitRecive</a> (void)</td></tr>
<tr class="memdesc:a4929c68b4fd3f43141dd70f7a475a3da"><td class="mdescLeft">&#160;</td><td class="mdescRight">等待ESP8266接收完成  <br /></td></tr>
<tr class="separator:a4929c68b4fd3f43141dd70f7a475a3da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35a39c8502757158d77a6d0ee1936f03" id="r_a35a39c8502757158d77a6d0ee1936f03"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a35a39c8502757158d77a6d0ee1936f03">ESP8266_SendCmd</a> (uint8_t *cmd, uint8_t *res)</td></tr>
<tr class="memdesc:a35a39c8502757158d77a6d0ee1936f03"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送命令  <br /></td></tr>
<tr class="separator:a35a39c8502757158d77a6d0ee1936f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5088cb1d2a0efa2312f2729675ffaa2c" id="r_a5088cb1d2a0efa2312f2729675ffaa2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5088cb1d2a0efa2312f2729675ffaa2c">Network_info</a> ()</td></tr>
<tr class="memdesc:a5088cb1d2a0efa2312f2729675ffaa2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">查询网络信息  <br /></td></tr>
<tr class="separator:a5088cb1d2a0efa2312f2729675ffaa2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a201bebd46a40192e6a1c42ddf328ba5d" id="r_a201bebd46a40192e6a1c42ddf328ba5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a201bebd46a40192e6a1c42ddf328ba5d">Connect_WIFI</a> ()</td></tr>
<tr class="memdesc:a201bebd46a40192e6a1c42ddf328ba5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接WIFI  <br /></td></tr>
<tr class="separator:a201bebd46a40192e6a1c42ddf328ba5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f687c4882ef40b92d8effc3edc0cb62" id="r_a5f687c4882ef40b92d8effc3edc0cb62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5f687c4882ef40b92d8effc3edc0cb62">Disconnect_WIFI</a> ()</td></tr>
<tr class="memdesc:a5f687c4882ef40b92d8effc3edc0cb62"><td class="mdescLeft">&#160;</td><td class="mdescRight">断开WIFI  <br /></td></tr>
<tr class="separator:a5f687c4882ef40b92d8effc3edc0cb62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9414a328d6e95d451bd1f36f1923f01" id="r_aa9414a328d6e95d451bd1f36f1923f01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa9414a328d6e95d451bd1f36f1923f01">ESP8266_Reset</a> (uint8_t echo)</td></tr>
<tr class="memdesc:aa9414a328d6e95d451bd1f36f1923f01"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置ESP8266  <br /></td></tr>
<tr class="separator:aa9414a328d6e95d451bd1f36f1923f01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ad9302b4cc0c4b53641111fd11dbd2d91" id="r_ad9302b4cc0c4b53641111fd11dbd2d91"><td class="memItemLeft" align="right" valign="top"><a id="ad9302b4cc0c4b53641111fd11dbd2d91" name="ad9302b4cc0c4b53641111fd11dbd2d91"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>esp8266_buf</b> [1000]</td></tr>
<tr class="memdesc:ad9302b4cc0c4b53641111fd11dbd2d91"><td class="mdescLeft">&#160;</td><td class="mdescRight">ESP8266接收数据临时存储数组 <br /></td></tr>
<tr class="separator:ad9302b4cc0c4b53641111fd11dbd2d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59269537e7e881ed8f608c3f7a5de4c1" id="r_a59269537e7e881ed8f608c3f7a5de4c1"><td class="memItemLeft" align="right" valign="top"><a id="a59269537e7e881ed8f608c3f7a5de4c1" name="a59269537e7e881ed8f608c3f7a5de4c1"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>WIFI_Status</b> =0</td></tr>
<tr class="memdesc:a59269537e7e881ed8f608c3f7a5de4c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">WIFI状态，0为未连接，1为已连接 <br /></td></tr>
<tr class="separator:a59269537e7e881ed8f608c3f7a5de4c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bdee10b315515da8d39dc8d7a4a61e2" id="r_a2bdee10b315515da8d39dc8d7a4a61e2"><td class="memItemLeft" align="right" valign="top"><a id="a2bdee10b315515da8d39dc8d7a4a61e2" name="a2bdee10b315515da8d39dc8d7a4a61e2"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>retry_cnt</b> = 0</td></tr>
<tr class="memdesc:a2bdee10b315515da8d39dc8d7a4a61e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">查询网络信息重试次数 <br /></td></tr>
<tr class="separator:a2bdee10b315515da8d39dc8d7a4a61e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8d48583d2afe8da67b66c3b11c47c6e" id="r_ae8d48583d2afe8da67b66c3b11c47c6e"><td class="memItemLeft" align="right" valign="top"><a id="ae8d48583d2afe8da67b66c3b11c47c6e" name="ae8d48583d2afe8da67b66c3b11c47c6e"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>connect_retry_cnt</b> = 0</td></tr>
<tr class="memdesc:ae8d48583d2afe8da67b66c3b11c47c6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">WIFI连接重试次数 <br /></td></tr>
<tr class="separator:ae8d48583d2afe8da67b66c3b11c47c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46779094a9b514543c062c20c0add650" id="r_a46779094a9b514543c062c20c0add650"><td class="memItemLeft" align="right" valign="top"><a id="a46779094a9b514543c062c20c0add650" name="a46779094a9b514543c062c20c0add650"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>esp8266_cnt</b></td></tr>
<tr class="separator:a46779094a9b514543c062c20c0add650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79aab3df1133da471fbe7182d450fc52" id="r_a79aab3df1133da471fbe7182d450fc52"><td class="memItemLeft" align="right" valign="top"><a id="a79aab3df1133da471fbe7182d450fc52" name="a79aab3df1133da471fbe7182d450fc52"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>esp8266_cntPre</b></td></tr>
<tr class="separator:a79aab3df1133da471fbe7182d450fc52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa85d9700d50398afe1fb183a196a597b" id="r_aa85d9700d50398afe1fb183a196a597b"><td class="memItemLeft" align="right" valign="top"><a id="aa85d9700d50398afe1fb183a196a597b" name="aa85d9700d50398afe1fb183a196a597b"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>ESP8266_Status</b> = 0</td></tr>
<tr class="memdesc:aa85d9700d50398afe1fb183a196a597b"><td class="mdescLeft">&#160;</td><td class="mdescRight">ESP8266状态，0为未连接，1为已连接 <br /></td></tr>
<tr class="separator:aa85d9700d50398afe1fb183a196a597b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5366a070db023d896628ce58bd5504a" id="r_ab5366a070db023d896628ce58bd5504a"><td class="memItemLeft" align="right" valign="top"><a id="ab5366a070db023d896628ce58bd5504a" name="ab5366a070db023d896628ce58bd5504a"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>ESP8266_Last_Status</b> = 0</td></tr>
<tr class="separator:ab5366a070db023d896628ce58bd5504a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>ESP8266相关操作源文件 </p>
<dl class="section author"><dt>作者</dt><dd>VRxiaojie </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2024-08-11 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>v1.0 </dd></dl>
<dl class="section note"><dt>注解</dt><dd>哔哩哔哩 : VR小杰 <a href="https://space.bilibili.com/11526854">https://space.bilibili.com/11526854</a> <br  />
 嘉立创开源广场: vrxiaojie <a href="https://oshwhub.com/vrxiaojie/">https://oshwhub.com/vrxiaojie/</a> <br  />
 </dd></dl>
</div><h2 class="groupheader">函数说明</h2>
<a id="a201bebd46a40192e6a1c42ddf328ba5d" name="a201bebd46a40192e6a1c42ddf328ba5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a201bebd46a40192e6a1c42ddf328ba5d">&#9670;&#160;</a></span>Connect_WIFI()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Connect_WIFI </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>连接WIFI </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">无</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 </dd></dl>

</div>
</div>
<a id="a5f687c4882ef40b92d8effc3edc0cb62" name="a5f687c4882ef40b92d8effc3edc0cb62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f687c4882ef40b92d8effc3edc0cb62">&#9670;&#160;</a></span>Disconnect_WIFI()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Disconnect_WIFI </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>断开WIFI </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">无</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 </dd></dl>

</div>
</div>
<a id="a846bd3892ad76a2e0589298e6026a2eb" name="a846bd3892ad76a2e0589298e6026a2eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a846bd3892ad76a2e0589298e6026a2eb">&#9670;&#160;</a></span>ESP8266_Clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ESP8266_Clear </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>清空ESP8266 UART接收缓存 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">无</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 <br  />
 </dd></dl>

</div>
</div>
<a id="aa9414a328d6e95d451bd1f36f1923f01" name="aa9414a328d6e95d451bd1f36f1923f01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9414a328d6e95d451bd1f36f1923f01">&#9670;&#160;</a></span>ESP8266_Reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ESP8266_Reset </td>
          <td>(</td>
          <td class="paramtype">uint8_t</td>          <td class="paramname"><span class="paramname"><em>echo</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>重置ESP8266 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">echo</td><td>选择重置操作是否显示于屏幕 1-显示 0-不显示 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 </dd></dl>

</div>
</div>
<a id="a35a39c8502757158d77a6d0ee1936f03" name="a35a39c8502757158d77a6d0ee1936f03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35a39c8502757158d77a6d0ee1936f03">&#9670;&#160;</a></span>ESP8266_SendCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ESP8266_SendCmd </td>
          <td>(</td>
          <td class="paramtype">uint8_t *</td>          <td class="paramname"><span class="paramname"><em>cmd</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *</td>          <td class="paramname"><span class="paramname"><em>res</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送命令 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td>命令 </td></tr>
    <tr><td class="paramname">res</td><td>需要检查的返回指令 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>1 成功 </dd>
<dd>
0 失败 </dd></dl>

</div>
</div>
<a id="a4929c68b4fd3f43141dd70f7a475a3da" name="a4929c68b4fd3f43141dd70f7a475a3da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4929c68b4fd3f43141dd70f7a475a3da">&#9670;&#160;</a></span>ESP8266_WaitRecive()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ESP8266_WaitRecive </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等待ESP8266接收完成 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">无</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>1 接收完成 </dd>
<dd>
0 接收超时未完成 </dd></dl>

</div>
</div>
<a id="a5088cb1d2a0efa2312f2729675ffaa2c" name="a5088cb1d2a0efa2312f2729675ffaa2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5088cb1d2a0efa2312f2729675ffaa2c">&#9670;&#160;</a></span>Network_info()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Network_info </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查询网络信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">无</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 </dd></dl>

</div>
</div>
<a id="a2194529694ce26bd9913f172f05c7fed" name="a2194529694ce26bd9913f172f05c7fed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2194529694ce26bd9913f172f05c7fed">&#9670;&#160;</a></span>USART_SendString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void USART_SendString </td>
          <td>(</td>
          <td class="paramtype">UART_TypeDef *</td>          <td class="paramname"><span class="paramname"><em>USARTx</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *</td>          <td class="paramname"><span class="paramname"><em>DataString</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>USART发送字符串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">USARTx</td><td>UART引脚。可用的有：CW_UART1，CW_UART2，CW_UART3 </td></tr>
    <tr><td class="paramname">DataString</td><td>要发送的字符串数组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>无 <br  />
 </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="esp8266__cmd_8c.html">esp8266_cmd.c</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
  </ul>
</div>
</body>
</html>
